package com.tz.pay.weixin.core.common;
/**
 * 类功能描述
 *
 * @author	向强
 * @version	2016年7月28日 下午1:43:29
 */
public class Configure {
	
	//私有Key了(建议只能放在自己的后台代码里，不能放在任何可能被看到源代码的客户端程序中)
	private static String apiKey = "0d6e8ba625f9777d59a8923dbbafd53d";
//	private static String apiKey = "d655394fe48f4baeaf21c1ab84c57f9a";
	
	//微信分配的公众号ID（开通公众号之后可以获取到）
	private static String appID = "wx81e5591d867e3238";
//	private static String appID = "wx441bae7c118ab585";
	
	//微信支付分配的商户号ID（开通公众号的微信支付功能之后可以获取到）
	private static String mchID = "1397805202";
//	private static String mchID = "1233598302";
	
	//机器IP
	private static String ip = "";

	public static String HttpsRequestClassName = "com.tencent.common.HttpsRequest";

	public static void setKey(String key) {
		Configure.apiKey = key;
	}

	public static void setAppID(String appID) {
		Configure.appID = appID;
	}

	public static void setMchID(String mchID) {
		Configure.mchID = mchID;
	}

	public static void setIp(String ip) {
		Configure.ip = ip;
	}

	public static String getKey(){
		return apiKey;
	}
	
	public static String getAppid(){
		return appID;
	}
	
	public static String getMchid(){
		return mchID;
	}

	public static String getIP(){
		return ip;
	}

	public static void setHttpsRequestClassName(String name){
		HttpsRequestClassName = name;
	}

}
